package org.jeecg.modules.wechat.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.wechat.entity.WxUser;

import java.io.Serializable;

/**
 * TODO:
 *
 * @author Zhang Hao yu
 * @date 2020/11/13 15:18
 */
@Data
public class UserInfoVO implements Serializable {
    public UserInfoVO(String token, WxUser wxUser) {
        this.token = token;
        this.wxUser = wxUser;
    }

    /**返回Token*/
    @ApiModelProperty(value = "服务器返回给app的token")
    private String token;

    /**openId对应的用户信息*/
    @ApiModelProperty(value = "用户登录成功返回的用户信息")
    private WxUser wxUser;
}